//
// Message Schema
//
var mongoose = require('mongoose');

var schema = mongoose.Schema({
   title          : String,
   body           : String,
   date           : Date,
   poster         : {type: mongoose.Schema.Types.ObjectId, ref: 'club.user'}
});

module.exports = schema;
